package com.tuzhi.base.web.httpclient;

import com.dtflys.forest.annotation.Address;
import com.dtflys.forest.annotation.Header;
import com.dtflys.forest.annotation.Post;
import com.tuzhi.common.domain.LoginUserBO;
import com.tuzhi.common.domain.ResultBO;

@Address(host = "${host_auth}", port = "${port_auth}")
public interface AuthApi {

    @Post(value = "/auth/permission/getCurUser")
    ResultBO<LoginUserBO> getCurUser(@Header("Authorization") String Authorization);

   /* @Get(value = "/auth/config/getNotAuthUrl")
    Set<String> getNonAuthUrl();*/

   /* @Post(value = "/auth/sys/user/getLoginUser")
    LoginUserBO getLoginUser(@Body("token") String token);*/

   /* @Post(value = "/auth/sys/user/tokenIsExpRefresh")
    String tokenIsExpRefresh(@Body("token") String token);*/
}
